package org.jianfa.homework.code.mapper;

import org.jianfa.homework.code.model.JianfaAuthCode;

import java.util.List;

public interface JianfaAuthCodeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(JianfaAuthCode record);

    JianfaAuthCode selectByPrimaryKey(Integer id);

    List<JianfaAuthCode> selectAll();

    int updateByPrimaryKey(JianfaAuthCode record);

    JianfaAuthCode selectByEmail(String email);
}